using System;
using System.Collections.Generic;
using System.Text;
using AandEDLL.DataAccess;

namespace AandEDLL.ItemSearchAPI
{
    abstract class SearchServiceFactory
    {
        public List<Item> performSearch(String criterion)
        {
            SearchService service;
            service = createServiceClient();

            service.initializeService();
            return service.search(criterion);
        }
        public abstract SearchService createServiceClient();
    }
}
